package com.xiaocikuai.smallchunks.entity.Transaction;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 虚拟商品购买管理
 * </p>
 *
 * @author author1
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yshop_virtual_order")
public class VirtualOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    private Integer uid;

    @TableField("pid")
    private Integer pid;

    /**
     * 购买机型
     */
    @TableField("use_type")
    private String useType;

    /**
     * 订单状态 0未完成 1完成
     */
    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private Blob createTime;

    /**
     * 是否禁用
     */
    @TableField("ifdis")
    private Integer ifdis;


}
